const Mock = require('mockjs')

const data = Mock.mock({
    "list|14":[{
        "type":"@id",
        "name":"@cname",
        "img":"@image(100x80,@color())",
        "children|10-18":[{
            "id":"@id",
            "name":"@cname",
            "title":"@ctitle",
            "price|200-1000":236,
            "img":"@image(80x80,@color())"
        }]
    }]
})

module.exports = data.list